/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gt.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gt.entity.GtInfoDeliver;
import com.thinkgem.jeesite.modules.gt.dao.GtInfoDeliverDao;

/**
 * 信息宣传Service
 * @author zad
 * @version 2018-03-26
 */
@Service
@Transactional(readOnly = true)
public class GtInfoDeliverService extends CrudService<GtInfoDeliverDao, GtInfoDeliver> {

	public GtInfoDeliver get(String id) {
		return super.get(id);
	}
	
	public List<GtInfoDeliver> findList(GtInfoDeliver gtInfoDeliver) {
		return super.findList(gtInfoDeliver);
	}
	
	public Page<GtInfoDeliver> findPage(Page<GtInfoDeliver> page, GtInfoDeliver gtInfoDeliver) {
		return super.findPage(page, gtInfoDeliver);
	}
	
	@Transactional(readOnly = false)
	public void save(GtInfoDeliver gtInfoDeliver) {
		super.save(gtInfoDeliver);
	}
	
	@Transactional(readOnly = false)
	public void delete(GtInfoDeliver gtInfoDeliver) {
		super.delete(gtInfoDeliver);
	}
	
	public Map<String,String> findExport(Map<String,String> map)
	{
		return super.dao.findExport(map);
	}
	
	// 批量插入信息宣传扶贫信息
	public int insertList(List<GtInfoDeliver> infoDeliverList)
	{
		return super.dao.insertList(infoDeliverList);
	}
}